/*     */ package nc.impl.ic.m4d;
/*     */ 
/*     */ import nc.bs.ic.m4d.MaterialOutEquipCardProcess;
/*     */ import nc.impl.ic.m4d.action.CancelSignAction;
/*     */ import nc.impl.ic.m4d.action.DeleteAction;
/*     */ import nc.impl.ic.m4d.action.InsertAction;
/*     */ import nc.impl.ic.m4d.action.RatioOutSaveAction;
/*     */ import nc.impl.ic.m4d.action.SignAction;
/*     */ import nc.impl.ic.m4d.action.UpdateAction;
/*     */ import nc.itf.ic.m4d.IMaterialOutMaintain;
/*     */ import nc.vo.ic.m4d.entity.MaterialOutVO;
/*     */ import nc.vo.pub.BusinessException;
/*     */ import nc.vo.pubapp.pattern.exception.ExceptionUtils;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class MaterialOutMaintainImpl
/*     */   implements IMaterialOutMaintain
/*     */ {
/*     */   public MaterialOutVO[] cancelSign(MaterialOutVO[] bills) throws BusinessException {
/*     */     try {
/*  45 */       return (new CancelSignAction()).cancelSign(bills);
/*     */     }
/*  47 */     catch (Exception ex) {
/*  48 */       ExceptionUtils.marsh(ex);
/*  49 */       return new MaterialOutVO[0];
/*     */     } 
/*     */   }
/*     */ 
/*     */   
/*     */   public void delete(MaterialOutVO[] bills) throws BusinessException {
/*     */     try {
/*  56 */       (new DeleteAction()).delete(bills);
/*     */     }
/*  58 */     catch (Exception ex) {
/*  59 */       ExceptionUtils.marsh(ex);
/*     */     } 
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public MaterialOutVO[] insert(MaterialOutVO[] bills) throws BusinessException {
/*     */     try {
/*  67 */       return (new InsertAction()).insert(bills);
/*     */     }
/*  69 */     catch (Exception ex) {
/*  70 */       ExceptionUtils.marsh(ex);
/*  71 */       return new MaterialOutVO[0];
/*     */     } 
/*     */   }
/*     */ 
/*     */   
/*     */   public MaterialOutVO[] sign(MaterialOutVO[] bills) throws BusinessException {
/*     */     try {
/*  78 */       return (new SignAction()).sign(bills);
/*     */     }
/*  80 */     catch (Exception ex) {
/*  81 */       ExceptionUtils.marsh(ex);
/*  82 */       return new MaterialOutVO[0];
/*     */     } 
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public MaterialOutVO[] ratioOutSave(MaterialOutVO[] bills, boolean isNum) throws BusinessException {
/*     */     try {
/*  90 */       return (new RatioOutSaveAction()).pushsave(bills, isNum);
/*     */     }
/*  92 */     catch (Exception ex) {
/*  93 */       ExceptionUtils.marsh(ex);
/*  94 */       return new MaterialOutVO[0];
/*     */     } 
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public MaterialOutVO[] cancelGenerateEquipCard(MaterialOutVO[] bills) throws BusinessException {
/*     */     try {
/* 102 */       return (MaterialOutVO[])(new MaterialOutEquipCardProcess()).cancelGenerateEquipCard(bills);
/*     */     }
/* 104 */     catch (Exception ex) {
/* 105 */       ExceptionUtils.marsh(ex);
/* 106 */       return new MaterialOutVO[0];
/*     */     } 
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public MaterialOutVO[] generateEquipCard(MaterialOutVO[] bills) throws BusinessException {
/*     */     try {
/* 114 */       return (MaterialOutVO[])(new MaterialOutEquipCardProcess()).generateEquipCard(bills);
/*     */     }
/* 116 */     catch (Exception ex) {
/* 117 */       ExceptionUtils.marsh(ex);
/* 118 */       return new MaterialOutVO[0];
/*     */     } 
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public MaterialOutVO[] update(MaterialOutVO[] bills, MaterialOutVO[] originBills) throws BusinessException {
/*     */     try {
/* 126 */       return (new UpdateAction()).update(bills, originBills);
/*     */     }
/* 128 */     catch (Exception ex) {
/* 129 */       ExceptionUtils.marsh(ex);
/* 130 */       return new MaterialOutVO[0];
/*     */     } 
/*     */   }
/*     */ }


/* Location:              E:\ncc2111_bfdh_workspace\NCC2111_bfdh\NCC2111\modules\ic\META-INF\lib\ic_outbound.jar!/nc/impl/ic/m4d/MaterialOutMaintainImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */